{load href="__plugin__/admin/public.css"}
<form class="layui-form layui-form-pane edit-form">

    <div class="layui-form-item">
        <label class="layui-form-label">
            服务类型
        </label>
        <div class="layui-input-block">
             <select name="type" disabled="">
                <option value="">请选择服务类型</option>
                <option value="1" {if $data['type'] == 1} selected {/if}>有偿服务</option>
                <option value="2" {if $data['type'] == 2} selected {/if}>无偿服务</option>
               
              </select>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">需求内容</label>
        <div class="layui-input-block">
            <textarea name="title" placeholder="需求内容" class="layui-textarea" readonly="">{$data['title']}</textarea>
        </div>
    </div>
   
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">
            需求图片
        </label>
        <div class="layui-input-block">

            <div class="new-style-file-box clear" >
                {volist name="$data['image']" id="vo" empty="暂无图片"}
                <div class="new-style-img-box fl">
                    <img src="{$vo}">
                </div>
                {/volist}

            </div>
            
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            联系电话
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input"  name="tel" type="text" value="{$data['tel']}" readonly=""/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            定金
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input"  name="pay_price" type="text" value="{$data['pay_price']}" readonly=""/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            预算
        </label>
        <div class="layui-input-inline">
            <input autocomplete="off" class="layui-input"  name="budget" type="text" value="{$data['budget']}" readonly=""/>
        </div>
        <div class="layui-form-mid layui-word-aux">{$data['unit']}</div>
    </div>
    
    <div class="layui-form-item">
        <label class="layui-form-label">
            终止时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="end_time" type="text" value="{$data['end_time']|date='Y-m-d',###}" readonly=""/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="add_time" type="text" value="{$data['add_time']|date='Y-m-d',###}" readonly=""/>
        </div>
    </div>
    
</form>
